package cate.game.pvp.gradepvp.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBGradePvp;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "观看录像列表 の 请求")
public class GradePvpRecordReq implements MsgInput {
    @NoteField(value = "录像类型，1个人，2大神风采")
    public int type;

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new GradePvpRecordResp(cc.getRole(), type));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGradePvp.RECORD_REQ;
    }
}
